<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
	<link title=style href="style.css" type=text/css rel=StyleSheet>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<style type="text/css"> 
		 
			A:link {text-decoration:none; color:black;} 
			A:visited {text-decoration:none; color:black;} 
			A:hover {text-decoration:none; color:red;} 
			 
		</style>
	</head>
	<body>
		<div><table border="1"width="700"cellspacing="0">
			<tr >
			<td>${requestScope.mto.messageTitle }</td>
			</tr>
		</table></div>
		<div><table border="1"width="700"cellspacing="0">
			<tr>
			<td>작성자:${requestScope.mto.messageWriter } | 작성일시:${requestScope.mto.messageWritedate }</td>
			</tr>
		</table></div>
		<div><table border="1"width="700"height="500"cellspacing="0">
			<tr>
				<td valign="top">
					${requestScope.mto.messageContent }
				</td>
			</tr>
		</table>
		</div>
		<a href="message.do?method=listController&page=${param.page }">글목록</a> | 
		<a href="message.do?method=deleteController&no=${requestScope.mto.messageNo  }&page=${param.page}&name=admin">글삭제</a> | 
		<a href="message.do?method=showController&no=${requestScope.mto.messageNo }&page=${param.page}">답변</a> 
	</body>
</html>